import request from '@/utils/request'


// 根据科室id获取医生
export function selectDoctorByDepartmentId(departmentId) {
  return request({
    url: '/system/doctor/selectDoctorByDepartmentId/'+departmentId,
    method: 'get',
  })
}

// 获取医生
export function getInfoDoctor(id) {
  return request({
    url: '/system/doctor/'+id,
    method: 'get',
  })
}

// 获取医生列表
export function selectDoctorList(params) {
  return request({
    url: '/system/doctor/list',
    method: 'get',
    params: params
  })
}